datasketches: add build-datasketches.yml for riscv64 wheels - #1642
Open
luhenry wants to merge 1 commit into
Open
datasketches: add build-datasketches.yml for riscv64 wheels#1642luhenry wants to merge 1 commit into
luhenry wants to merge 1 commit into
Conversation
luhenry
force-pushed
the
datasketches
branch
from
September 8, 2026 16:49
801dd4d to
176984e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
datasketches5.2.0Compiles the nanobind/CMake
_datasketchesextension (probabilistic streaming-algorithm sketches: HLL, KLL, CPC, theta, tuple, quantiles, and friends) that CMake'sExternalProject_Addbuilds against a fetched checkout ofapache/datasketches-cppat the matching tag, plus the pure-Pythondatasketcheswrapper package. Upstream publishes no riscv64 wheel.Mirrors upstream's
build_wheels.yml.Differs from upstream
Testing
tests/staged into an empty cwd (CIBW_TEST_SOURCES) since the checkout root's owndatasketches/source package would otherwise shadow the installed wheel; same suite tox'schangedir = testsruns.License: OK
Patches
0001-Drop-const-...patch- To upstream.vector_of_kll_sketches's ownoperator=assigns to its constk_/d_members; GCC rejects it building the nanobind bindings. Reproduces on any GCC manylinux arch, not riscv64-only.Built on cp312 equivalent (aarch64 manylinux, local); 37 passed.